package com.nativetalk.service.course.search;

import com.nativetalk.base.RetInfo;
import com.nativetalk.dto.ExperienceCourseDto;

import java.util.List;

/**
 * Created by lizhun on 16/1/11.
 */
public interface CourseSearchService {
    /**
     * @param tea_id
     * @return RetInfo
     * @Purpose 查找教材信息  教师端展示
     * @version 1.0
     * @author lizhun
     */
    public RetInfo findCourse(int tea_id, Integer version);


    /**
     * 根据课程分类查询课程信息
     *
     * @param tea_id
     * @param version
     * @return
     * @Purpose
     * @version 4.1
     * @author Peter
     */
    public RetInfo findCourseByCategoryId(int tea_id, Integer version, Integer categoryId);

    /**
     * 查询最顶级分类
     *
     * @return
     * @Purpose
     * @version 4.1
     * @author Peter
     */
    public RetInfo findCategory();

    /**
     * 查询老师标签
     *
     * @return
     * @Purpose
     * @version 4.1
     * @author Peter
     */
    public RetInfo findTeaLabel();

    public List<ExperienceCourseDto> findCourseByCategoryIdForExperience(Integer memb_id, Integer categoryId);
}
